package com.ch.forum.service;

import org.apache.http.HttpException;

import java.io.IOException;


public interface IStockRestApi {

	/**
	 * 币种详情
	 * @return
	 * @throws HttpException
	 * @throws IOException
	 */
	String marketlist() throws HttpException, IOException;

	/**
	 * 某个币种的详情，价格等等
	 * @param symbol   pair
	 * @return
	 * @throws HttpException
	 * @throws IOException
	 */
	String ticker(String symbol) throws HttpException, IOException;

//
//	String tickers() throws HttpException, IOException;
//
//	String pairs() throws HttpException, IOException;
//
//	String marketinfo() throws HttpException, IOException;

//	String orderBook(String symbol) throws HttpException, IOException;
//
//	String tradeHistory(String symbol) throws HttpException, IOException;
//
//	String balance() throws HttpException, IOException;
//
//	String depositAddress(String symbol) throws HttpException, IOException;
//
//	String depositsWithdrawals(String startTime, String endTime) throws HttpException, IOException;
//
//	String buy(String currencyPair, String rate, String amount) throws HttpException, IOException;
//
//	String sell(String currencyPair, String rate, String amount) throws HttpException, IOException;
//
//	String cancelOrder(String orderNumber, String currencyPair) throws HttpException, IOException;
//
//	String cancelAllOrders(String type, String currencyPair) throws HttpException, IOException;
//
//	String getOrder(String orderNumber, String currencyPair) throws HttpException, IOException;
//
//	String openOrders() throws HttpException, IOException;
//
//	String myTradeHistory(String currencyPair, String orderNumber) throws HttpException, IOException;
//
//	String withdraw(String currency, String amount, String address) throws HttpException, IOException;

}
